drop _all

set linesize 200


/* NEWSPAPER SELF-IDENTIFIED PARTISAN AFFILIATION (TABLE A.7) */

use data_for_table_a7, clear

tab year, gen(Y)

capture log close
log using regression_results_newspaper_polaff.txt, text replace

areg indep_1 prim_sw australian Y*, a(state) cluster(state)
areg indep_2 prim_sw australian Y*, a(state) cluster(state)
areg indep_3 prim_sw australian Y*, a(state) cluster(state)

log close
